package cn.iocoder.yudao.module.system.controller.admin.worksaleoutbound.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 销售出库分页 Request VO")
@Data
public class WorkSaleOutboundPageReqVO extends PageParam {

    @Schema(description = "工单表id", example = "18194")
    private Integer workId;

    @Schema(description = "出库批次号")
    private String batchNumber;
    @Schema(description = "出库类型：1出库2退回")
    private Integer outboubdType;

    @Schema(description = "出库数量")
    private Integer outboundQuantity;

    @Schema(description = "出库重量")
    private BigDecimal outboundWeight;

    @Schema(description = "是否带单价：1是2否", example = "20938")
    private Integer unitPrice;

    @Schema(description = "开始时间")
    private String createTimeStart;
    @Schema(description = "开始时间")
    private String createTimeEnd;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
